<form class="form-horizontal" method="POST" action="../edit_save_jurusan">
    <fieldset>
        <div class="control-group">
            <label class="control-label">Nama Universitas</label>
            <div class="controls">
                <select name="kd_univ" class="selectpicker" data-style="">
                    <?php
                    $option = $this->univList;
                    foreach ($option as $key => $value) {
                        echo '<option value="' . $value[1] . '">';
                        echo $value[2];
                        echo '</option>';
                    }
                    ?>
                </select>
            </div>
        </div>
        <?php $data=$this->edit_jurusan;
        $array = explode("_", $data['1'])
        ?>
        <input type="hidden" name="id" value="<?php echo $data['0'] ?>"/>
        <div class="control-group">
            <label class="control-label">Kode Jurusan</label>
            <div class="controls">
                <input type="text" name="kode_jurusan" value="<?php echo $array['1'] ?>"/>
            </div>
        </div>
        <div class="control-group">
            <label class="control-label">Nama Jurusan</label>
            <div class="controls">
                <input type="text" name="nama" value="<?php echo $data['2'] ?>"/>
            </div>
        </div>
        
        <div class="form-actions">
            <input type="submit" name="submit" value="Simpan" class="btn btn-success"/>
        </div>
    </fieldset>
</form>


